<?php
  /***************************************************************
   * @file: main.php
   * @author: Neo
   * @mail: xq262144@gmail.com
   * @date: 
   * @description:
   * this file is the main access of the authentication class
   ***************************************************************/
 
  if (!defined('SYS_BASEPATH')) {echo "No script access allowed!"; header("HTTP/1.0 404 Not Found"); }
  
  require_once(SYS_LIB . '/auth/Authentication.class.php');
  function auth($method){
      $param = func_get_args();
      $param = array_splice($param, 1);
      return call_user_func_array(array('Authentication', $method), $param);
  }